<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div class="panel panel-primary">
    <div class="panel-heading">
        <h3 class="panel-title">我的分类</h3>
    </div>
    <div class="panel-body">
        {% for category_obj in article_category_class_data %}
            <div><a href="{% url 'article_site' username 'category' category_obj.id %}">{{ category_obj.name }} ({{ category_obj.article_num }})</a>
            </div>
            <hr>
        {% endfor %}
    </div>
</div>
<div class="panel panel-success">
    <div class="panel-heading">
        <h3 class="panel-title">随笔标签</h3>
    </div>
    <div class="panel-body">
        {% for article_category_tag_obj in article_category_tag_data %}
            <div><a href="{% url 'article_site' username 'tag' article_category_tag_obj.id %}">{{ article_category_tag_obj.name }} ({{ article_category_tag_obj.article_num }})</a></div>
            <hr>
        {% endfor %}
    </div>
</div>
<div class="panel panel-info">
    <div class="panel-heading">
        <h3 class="panel-title">随笔档案</h3>
    </div>
    <div class="panel-body">
        {% for article_year_month_obj in article_year_month_data %}
            <div><a href="{% url 'article_site' username 'archive' article_year_month_obj.month|date:"Y-m" %}">{{ article_year_month_obj.month|date:"Y-m-d" }} ({{ article_year_month_obj.article_num }})</a>
            </div>
            <hr>
        {% endfor %}
    </div>
</div>
<div class="panel panel-warning">
    <div class="panel-heading">
        <h3 class="panel-title">推荐排行</h3>
    </div>
    <div class="panel-body">
        {% for article_recommend_obj in article_recommend_data %}
            <div><a href="">{{ article_recommend_obj.title }} ({{ article_recommend_obj.up_num }})</a></div>
            <hr>
        {% endfor %}
    </div>
</div>

</body>
</html>